package java_exceptions.what_is_exception;

public class JavaException {

	public static void main(String[] args) {
		
		int x = 10/0; // exception thrown
		
		System.out.println("main"); // will be skipped
	}

}

// Exception in thread "main" java.lang.ArithmeticException: / by zero
